home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #11 / Amiga Plus CD - 2002 - No. 11.iso / Tools / Development / PowerD / powerd / source / lib / powerd_lib.lha / PowerD_PPC / Odd.ass < prev    next >
Text File  |  2000-11-16  |  156b  |  17 lines

  1.  
  2. # Odd(r3:LONG)(BOOL)
  3.  
  4.     .text
  5.     .global    _Odd
  6.  
  7. _Odd:
  8.     andi.    r3,r3,1
  9.     bne    .yes
  10. .no:    li    r3,0
  11.     blr
  12. .yes:    li    r3,-1
  13.     blr
  14.  
  15.     .type    _Odd,@function
  16.     .size    _Odd,$-_Odd
  17.